package com.ruoyi.archives.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习/工作简历对象 sys_studywork
 * 
 * @author gzhankh
 * @date 2022-02-26
 */
public class SysStudywork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 用户名 */
    private String userName;

    /** 学号 */
    private String arcNum;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 工作或者学校 */
    @Excel(name = "工作或者学校")
    private String schoolJob;

    /** 职务 */
    @Excel(name = "职务")
    private String position;

    /** 档案id */
    private String archiveId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setArcNum(String arcNum) 
    {
        this.arcNum = arcNum;
    }

    public String getArcNum() 
    {
        return arcNum;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setSchoolJob(String schoolJob) 
    {
        this.schoolJob = schoolJob;
    }

    public String getSchoolJob() 
    {
        return schoolJob;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setArchiveId(String archiveId) 
    {
        this.archiveId = archiveId;
    }

    public String getArchiveId() 
    {
        return archiveId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("arcNum", getArcNum())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("schoolJob", getSchoolJob())
            .append("position", getPosition())
            .append("archiveId", getArchiveId())
            .toString();
    }
}
